package com.zds.support.api.retrofit.response

import com.google.gson.annotations.SerializedName

class ApiPageResponse<T> : ApiBaseResponse() {
    @SerializedName("data")
    var data: Data<T>? = null

    class Data<T> {
        var pageSize: Int = 0               // 页面大小

        @SerializedName(value = "list", alternate = arrayOf("items"))
        var list = ArrayList<T>()           // 数据

        var total: Int = 0
    }
}